From 5309149f75c34390659871f8eb62943809d67e66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 23 Apr 2014 15:58:45 +0000 Subject: [PATCH] W32: Fix dummy prelight style for check/radio buttons Use a dummy transparent gradient instead of actual color (which screws up focus rectangle on prelight), and apply to non-prelight state as well. https://bugzilla.gnome.org/show_bug.cgi?id=728807 --- gtk/resources/theme/gtk-win32-base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css index 701c3fc880..ca84e79fe4 100644 --- a/gtk/resources/theme/gtk-win32-base.css +++ b/gtk/resources/theme/gtk-win32-base.css @@ -160,9 +160,11 @@ GtkRadioButton:prelight:selected { } /* This is meaningless, it just enables prelight propagation to check/radio mark */ +GtkCheckButton, +GtkRadioButton, GtkCheckButton:prelight, GtkRadioButton:prelight { - color: @fg_color; + background-image: -gtk-gradient (linear, left top, right bottom, from(transparent), to(transparent)); } .check { -- 2.30.2